home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / ruledsrf.6 < prev    next >
Text File  |  1996-07-16  |  1KB  |  43 lines

  1. .TH RULEDSRF
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. RULEDSRF
  5.  
  6.  
  7.  
  8.  SurfaceType RULEDSRF( CurveType Crv1, CurveType Crv2 )
  9.  
  10. Constructs a ruled surface between the two curves Crv1 and Crv2.
  11. The curves do not have to have the same order or type, and will be promoted
  12. to their least common denominator.
  13.  
  14. Example:
  15.  
  16.     c1 = cbspline( 3,
  17.                  list( ctlpt(E3, 1.7, 0.0 , 0  ),
  18.                        ctlpt(E3, 0.7, 0.7 , 0  ),
  19.                        ctlpt(E3, 1.7, 0.3 , 0  ),
  20.                        ctlpt(E3, 1.5, 0.8 , 0  ),
  21.                        ctlpt(E3, 1.6, 1.0 , 0  ) ),
  22.             list( KV_OPEN ) );
  23.     c2 = cbspline( 3,
  24.                  list( ctlpt(E3, 0.7, 0.0 , 0  ),
  25.                        ctlpt(E3,-0.7, 0.2 , 0  ),
  26.                        ctlpt(E3, 0.7, 0.5 , 0  ),
  27.                        ctlpt(E3,-0.7, 0.7 , 0  ),
  28.                        ctlpt(E3, 0.7, 1.0 , 0  ) ) ,
  29.             list( KV_OPEN ) );
  30.     
  31.     srf1 = RULEDSRF( c1, c2 );
  32.     interact( list( c1, c2, srf1 ), on );
  33.     
  34.     c2a = ffmatch( c1, c2, 50, 100, 2, false, 1 );
  35.     srf2 = RULEDSRF( c1, c2a );
  36.     interact( list( c1, c2, srf2 ), on );
  37.  
  38. Constructs a planar ruled surface between two curves, c1 and c2.
  39. The naive construction causes self intersection, but by employing FFMATCH
  40. the self intersection can be resloved.
  41.  
  42. See also FFMATCH.
  43.